/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.nvViroid;

import android.app.Activity;
import android.os.Bundle;
import org.nViron.nvProjection.nvMercator;
import org.nViron.nvSim.nvSimulator;

/**
 * Application's entry point
 * @author Roland Haring <p>
 * <script type="text/javascript" src="http://www.ohloh.net/p/376434/widgets/project_basic_stats.js"></script>
 */
public class MainActivity extends Activity {

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        // ToDo add your GUI initialization code here
        nvSimulator sim = nvSimulator.getInstance();
        sim.init(new Config(), new nvMercator());
        sim.setRenderer(new Renderer(sim));
    }
}
